
public class EntityCarrot extends Entity {

	private static String imagePath = "content/objects.png";
	
	public boolean gotIt;
	
	public EntityCarrot(int x, int y) {
		super(imagePath, x, y);
		
	}
	
	public void update() {
		if(gotIt) {
			posY = 9;
		} else {
			posY = 10;
		}
		updatePositionSmooth();
	}
	
	public void render() {
		sheet.getSprite(0, 2).draw(actualX, actualY);
	}
	
}
